<div class="info_header">
    Thông tin sản phẩm
</div>
<table cellpadding="0" cellspacing="0" width="750" class="table-overlay" align="left">
    <col style="width: 110px;">
    <col style="width: 650px;">
    <col style="width: 20px">
    <col style="width: 20px">
    <?php foreach ($aryProductOrder as $key => $value) { ?>
        <tr>
            <td class="product-img">
                <div id="product_image_<?php echo $value['product_id']; ?>">
                    <a href="<?php echo $root_page; ?>/sanpham/<?php echo $value['product_id']; ?>/<?php echo $value['product_title_filter']; ?>.html">
                        <img src="<?php echo $sub_domain; ?>/images/upload/thumbnail/<?php echo $value['product_main_image']; ?>" border="0" align="middle">
                    </a>
                </div>
            </td>
            <td class="product_order_content">
                <div id="order_product_list_<?php echo $value['product_id']; ?>">
                    <div id="order_item_product_<?php echo $value['product_id']; ?>">
                        <div class="product-name">
                            <a  href="<?php echo $root_page; ?>/product/<?php echo $value['product_id']; ?>/<?php echo $value['product_title_filter']; ?>.html"><?php echo $value['product_title']; ?></a>
                        </div>
                        <div>
                            <span class="order_item_price">Giá nhập</span><span class="order_price"><?php echo number_format($value['product_price_vnd_in'], 0, ',', '.'); ?>&nbsp;VNĐ</span>
                        </div>
                        <div>
                            <span class="order_item_price">Giá bán</span>&nbsp;&nbsp;<span class="order_price"><?php echo number_format($value['product_price_vnd'], 0, ',', '.'); ?>&nbsp;VNĐ</span>
                        </div>
                        <div><span class="order_item_price">Số lượng</span><span class="order_item_price"><input type="text" class="input-overlay" style="width: 40px;" name="order_product_number_<?php echo $value['product_id']; ?>" id="order_product_number_<?php echo $value['product_id']; ?>" value="1"></span><span class="order_item_price">Đơn vị</span><span><input type="text" class="input-overlay" name="order_product_unit_<?php echo $value['product_id']; ?>" id="order_product_unit_<?php echo $value['product_id']; ?>" style="width: 40px;"></span></div>
                    </div>
                    <div id="edit_order_item_<?php echo $value['product_id']; ?>" class="hide">
                        <div class="frm_quick_edit_product">
                            <div class="product-name">
                                <span><input type="text" class="input-overlay w500p" name="order_product_title_<?php echo $value['product_id']; ?>" id="order_product_title_<?php echo $value['product_id']; ?>" value="<?php echo $value['product_title']; ?>"></span>
                            </div>
                            <div>
                                <span class="order_item_tite">Giá nhập</span><span><input type="text" class="input-overlay" name="order_price_vnd_in_<?php echo $value['product_id']; ?>" id="order_price_vnd_in_<?php echo $value['product_id']; ?>" value="<?php echo $value['product_price_vnd_in']; ?>"></span>
                            </div>
                            <div>
                                <span class="order_item_tite">Giá bán</span><span><input type="text" class="input-overlay" name="order_price_vnd_out_<?php echo $value['product_id']; ?>" id="order_price_vnd_out_<?php echo $value['product_id']; ?>" value="<?php echo $value['product_price_vnd']; ?>"></span>
                            </div>
                            <div>
                                <span class="order_item_tite">&nbsp;</span>
                                <span><input type="button" class="submit" title="Cập nhật thông tin sản phẩm trong danh sách sản phẩm" value="Cập nhật" onclick="AdminController.quickEditProduct('<?php echo $value['product_id']; ?>', 'product')"></span>
                                <span><input type="button" class="submit" value="Hủy" onclick="AdminController.hideQuickEditProduct('<?php echo $value['product_id']; ?>', 'overlay');"></span>
                                <input type="hidden" name="order_product_category_id_<?php echo $value['product_id'];?>" id="order_product_category_id_<?php echo $value['product_id'];?>" value="<?php echo $value['product_category_id'];?>">
                                <input type="hidden" name="order_product_category_name_<?php echo $value['product_id'];?>" id="order_product_category_name_<?php echo $value['product_id'];?>" value="<?php echo $value['product_category_name'];?>">
                                <input type="hidden" name="order_product_image_<?php echo $value['product_id'];?>" id="order_product_image_<?php echo $value['product_id'];?>" value="<?php echo $value['product_main_image'];?>">
                            </div>
                        </div>
                    </div>
                </div>
            </td>
            <td class="btn">
                <span class="cpointer" onclick="AdminController.showQuickEditProduct('<?php echo $value['product_id']; ?>', 'overlay');"><img src="<?php echo $sub_domain; ?>/images/form/icon-edit.gif" title="Chỉnh sửa nhanh thông tin sản phẩm này"></span>
            </td>
            <td class="btn">
                <span class="cpointer btn_edit" onclick="AdminController.removeProductFromOrder('<?php echo $value['product_id']; ?>');"><img src="<?php echo $sub_domain; ?>/images/form/delete.png" title="Xóa sản phẩm này khỏi đơn hàng"></span>
            </td>
        </tr>
    <?php } ?>

</table>